package homework_03.home_09;

import java.util.Scanner;

public class HomeWork_09 {
    /*输入一个数字，判断是一个奇数还是偶数。*/
    public static void main(String[] args) {
        int a;
        Scanner input=new Scanner(System.in);
        System.out.println("请输入数字：");
        a=input.nextInt();
        if (a%2==0) System.out.println("偶数");
        else System.out.println("奇数");
    }
}
